package com.voyage.generator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.voyage.common.constant.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: kangb on 2021/10/8 21:24
 * @param:
 * @return:
 * @Description: 代码生成配置
 */
@Data
@NoArgsConstructor
@TableName(value = "v_code_config")
public class CodeConfig extends BaseDO implements Serializable {


    //    @NotBlank
    @ApiModelProperty(value = "表名")
    private String tableName;

    @ApiModelProperty(value = "接口名称")
    private String apiAlias;

    //    @NotBlank
    @ApiModelProperty(value = "包路径")
    private String pack;

    //    @NotBlank
    @ApiModelProperty(value = "模块名")
    private String moduleName;

    //    @NotBlank
    @ApiModelProperty(value = "前端文件路径")
    private String path;

    @ApiModelProperty(value = "前端文件路径")
    private String apiPath;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "表前缀")
    private String prefix;

    @ApiModelProperty(value = "是否覆盖")
    private Boolean cover = false;

    @ApiModelProperty(value = "数据库引擎")
    private String engine;

    @ApiModelProperty(value = "编码集")
    private String tableCollation;

    @ApiModelProperty(value = "备注")
    private String remark;
}
